package com.example.req;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;

public class articleReq extends PageReq{
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private long articleid;
    private String articlename;
    private String articleuser;
    private String articlecontent;
    private String articletime;
    private int articlestatus;
    public long getArticleid() {
        return articleid;
    }

    public void setArticleid(long articleid) {
        this.articleid = articleid;
    }
    public String getArticlename() {
        return articlename;
    }

    public void setArticlename(String articlename) {
        this.articlename = articlename;
    }

    public String getArticleuser() {
        return articleuser;
    }

    public void setArticleuser(String articleuser) {
        this.articleuser = articleuser;
    }

    public String getArticlecontent() {
        return articlecontent;
    }

    public void setArticlecontent(String articlecontent) {
        this.articlecontent = articlecontent;
    }
    public String getArticletime() {
        return articletime;
    }
    public void setArticletime(String articletime) {
        this.articletime = articletime;
    }
    public int getArticlestatus() {
        return articlestatus;
    }

    public void setArticlestatus(int articlestatus) {
        this.articlestatus = articlestatus;
    }

    @Override
    public String toString() {
        return "article{" +
                "articleid=" + articleid +
                ", articlename='" + articlename + '\'' +
                ", articleuser='" + articleuser + '\'' +
                ", articlecontent='" + articlecontent + '\'' +
                ", articletime=" + articletime +
                ", articlestatus=" + articlestatus +
                '}';
    }
}
